﻿using ProtoBuf;

namespace Remoting.Reactive.ProtoBuf
{
    [ProtoContract]
    public class LambdaExpressionDto : ExpressionDto
    {
        [ProtoMember(1)]
        public ExpressionDto Body { get; set; }
        [ProtoMember(1)]
        public string Name { get; set; }
        [ProtoMember(1)]
        public ParameterExpressionDto[] Parameters { get; set; }
        [ProtoMember(1)]
        public TypeDto ReturnType { get; set; }
        [ProtoMember(1)]
        public bool TailCall { get; set; }
    }
}
